'use strict'
let express = require('express');
let router = express.Router('express');

router.get('/',function(req,res){
    //在渲染之前调用M，将M的数据渲染到页面上
   
    res.render('teachers/index',{});
});
router.get('/add',function(req,res){
    res.render('teachers/add',{});

});

module.exports = router;